<?php

/**
 * LlamadaProgramada form.
 *
 * @package    cronos-doctrine
 * @subpackage form
 * @author     Your name here
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class LlamadaProgramadaForm2 extends LlamadaProgramadaForm
{
  public function configure()
  {
      
      parent::configure(); 
  }
  
  protected function removeField() {
       //Eliminar los campos del formularios  created_at y updated_at
      unset (
         $this['created_at'],
         $this['updated_at']
      );
      
      $this->widgetSchema['empresa_id'] = new sfWidgetFormInputHidden(array(),array('value'=> sfContext::getInstance()->getUser()->getAttribute('agente_user_empresa_id')));
      $this->widgetSchema['llamo_id'] = new sfWidgetFormInputHidden();  
      $this->widgetSchema['categoria_id'] = new sfWidgetFormInputHidden();  
      $this->widgetSchema['agente_id'] = new sfWidgetFormInputHidden();  
      $this->widgetSchema['usuario_id'] = new sfWidgetFormInputHidden();  
      $this->widgetSchema['fecha'] = new sfWidgetFormInputHidden();  
      $this->widgetSchema['turno_id'] = new sfWidgetFormInputHidden();  
      $this->widgetSchema['llamada_id']->setLabel(" ");  
      $this->widgetSchema['nota'] = new sfWidgetFormTextarea();
  }
}
